package com.warm.constant;

/**
 * Created by liangchuang on 2018/9/27.
 */
public interface RedisConstant {

    /*
        redis实现缓存:
          常用注解:Cacheable  CachePut  CacheEvict
          需要将实体进行序列化
          结合业务场景,避免滥用
     */

    String TOKEN_PREFIX = "token_%s";

    Integer EXPIRE = 7200;
}
